import request from '@/utils/request'

// 查询医疗相关法律法规列表
export function listLawsRegulationsMedicine(query) {
  return request({
    url: '/workstation/lawsRegulationsMedicine/list',
    method: 'get',
    params: query
  })
}

// 查询医疗相关法律法规详细
export function getLawsRegulationsMedicine(id) {
  return request({
    url: '/workstation/lawsRegulationsMedicine/' + id,
    method: 'get'
  })
}

// 新增医疗相关法律法规
export function addLawsRegulationsMedicine(data) {
  return request({
    url: '/workstation/lawsRegulationsMedicine',
    method: 'post',
    data: data
  })
}

// 修改医疗相关法律法规
export function updateLawsRegulationsMedicine(data) {
  return request({
    url: '/workstation/lawsRegulationsMedicine',
    method: 'put',
    data: data
  })
}

// 删除医疗相关法律法规
export function delLawsRegulationsMedicine(id) {
  return request({
    url: '/workstation/lawsRegulationsMedicine/' + id,
    method: 'delete'
  })
}
